package com.itheima.youdianda.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.domain.SysConfig;
import com.itheima.youdianda.dto.ConfigForm;
import com.itheima.youdianda.dto.SysConfigTagDto;

import java.util.List;
import java.util.Map;

/**
 * @Author Pan Rundong
 * @Date 2023-02-13 20:55
 * @Desc 系统配置Service
 */
public interface SysConfigService extends IService<SysConfig> {
    /**
     * 获取全部系统配置之list
     * @Author: Pan Rundong
     * @Date: 2023-02-13 21:28
     * @Greet2u:  （O｀ 3′O）~~♡
     * @return java.util.List<com.itheima.youdianda.dto.SysConfigTagDto>
     */
    List<SysConfigTagDto> getAll2();
    /**
     * 获取全部配置之alldata
     * @Author: Pan Rundong
     * @Date: 2023-02-15 0:29
     * @Greet2u:  （O｀ 3′O）~~♡
     * @return java.util.List<com.itheima.youdianda.domain.SysConfig>
     */
    List<SysConfig> getAllData();

    /**
     * 获取全部配置之configForm
     * @Author: Pan Rundong
     * @Date: 2023-02-15 0:34
     * @Greet2u:  （O｀ 3′O）~~♡
     * @return java.util.Map
     */
    ConfigForm getAttrValue();

    /**
     * 获取全部配置之rules
     * @Author: Pan Rundong
     * @Date: 2023-02-15 0:37
     * @Greet2u:  （O｀ 3′O）~~♡
     * @return java.lang.Object
     */
    Object getRules();
}
